<?php
  define('homeclass',"home");
  define('errorclass',"error");
  
       
       
  $path=str_replace('/assets','',dirname(__FILE__));
  
  
  define('rootpath',$path);
  define('cacheimgpath',rootpath.'/assets/caches');
  define('imgpath',rootpath.'/assets/images');
  define('filepath',rootpath.'/assets/files');
  define('pluginpath',rootpath.'/library/plugin');
  define('imgdefaultpath',rootpath.'/images/default');
  define('includepath',rootpath.'/includes');
  define('templatepath',rootpath.'/templates/template1');
  define('pempath',rootpath.'/assets/pem');
  
  define('privatedomain',1);
  
  
  
  
  define('timecache',20);

 define('NameDmconnex',"Infostant");
 
 
 define('TitleDmconnex',"Digital Media Connex");
 
 define('DescriptionDmconnex',"Digital Media Connex");
 
 define('KeywordDmconnex',"ข่าวบันเทิง, ดารา, ละคร, เพลง, วงการบันเทิง, อัพเดทข่าวดารา");
 
 define('countpage',16);
 
 define('infoid',1);
 
  
  define('template',"template1");
  
  $string="http://";
  if($_SERVER['HTTPS']=="on")
  {
  $string="https://";     
      
  }
  
  define('baseinfo',$string.$_SERVER['HTTP_HOST']);
  
  define('imginfo',baseinfo.'/assets/images');
  define('imgdefaultinfo',baseinfo.'/images/default');
  define('fileinfo',baseinfo.'/assets/files');
  define('pluginjsinfo',baseinfo.'/js/plugins');
  define('plugininfo',baseinfo.'/library/plugin');
  define('serviceinfo',baseinfo.'/ajax/');
  define('zipinfo',baseinfo.'/assets/zip');
  define('bannerinfo',baseinfo.'/assets/banner');
  
  

  
  define('SMTPAuth',true);
  define('SMTPSecure','tls');
  define('Host','smtp.gmail.com');
  define('Port',587);
  define('Username',"infostant@gmail.com");
  define('Password',"infostant1234");
  define('From','infostant@gmail.com');
  define('NameFrom','Dmconnex');
  define('CharSet',"utf-8");
  define('SMTPDebug',0);
  
  
  define('facebookappid','505559252835405');
  define('facebooksecret','2cc3abc9b2ea59b988d117bff5a5681d');
  
  define('apikey','2cc3abc9b2ea59b988d117bff5a5681d');
  
  
  
  
  
  
  
  define('db_host',"localhost");
  define('db_user',"root");
  define('db_pass',"My2bsimDB@dm1n");
  define('db_name',"lovesayplay2");
  
//  if (defined('BoardCastData')) { //echo BoardCast;}else{};
 // if (defined('CopyRightData')) { echo 2013 © Infostant; }else{2013 © Canon Marketing(Thailand)<?};

?>
